<template>
  <div class="school">
    <h2>学校名称：{{ name }}</h2>
    <h2>学校地址：{{ address }}</h2>
  </div>
</template>

<script>
export default {
  name: "SchoolItem",
  data() {
    return {
      name: "合肥大学",
      address: "HEFEI",
    };
  },
};
</script>

<style scoped lang="less">
.school {
  background-color: skyblue;
  padding: 5px;
}
</style>
